package com.example.springbootmybatis.dao;

;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springbootmybatis.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao extends BaseMapper<User> {
//public interface UserDao {
   // public List<User> findAll();
//
   // int insert(@Param("s_name") String s_name, @Param("age") String age, @Param("email") String email);
//
   // int update(@Param("s_name") String s_name,@Param("age") String age,@Param("email") String email,@Param("id") int id);
//
   // int delete(@Param("id") int id);
}
